package com.jovienne;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication
@MapperScan("com.jovienne.web.**.mapper")
@EnableSwagger2
public class GYMServiceWebApplication {
    public static void main(String[] args) {
        try {
            SpringApplication.run(GYMServiceWebApplication.class, args);
        } catch (Throwable t) { // 捕获Throwable而不仅仅是Exception
            t.printStackTrace();
            System.exit(1);
        }

    }
}
